export const allData = [
  {
    id: '0001',
    name: '张三',
    role: '创始合伙人',
    desc: '开囧到了翻开撒旦法开始单开饭收到滥伐适当反抗上单肯红单抗法',
    avatar: '/static/image/login-background.jpeg',
    tel: '139567344884',
    email: 'bisjkdh@qq.com',
    address: '河南省郑州市金水区扫单放开三到付就',
    eduBackground: '中国人民公安大学、西南财经大学',
    workExperience:
      '开始党建开饭时代垦局龙蛋分开囧带肯基佬撒旦法老囧到啦樊笼矿机分开三道劳烦骚了扫荡卷肯喊扫荡反恐当反抗上单肯喊空挡反抗三矿很久空挡反抗耗散当饭恐慌反抗看桑扥健康上单垦荒看桑扥健康水单抗发生的抗囧扥健康',
    societyRoles: ['北京市人大代表', '北京市海淀区人大代表', '仲裁委员会 仲裁员'],
    honors: ['全国优秀律师', '全国律师行业优秀共产党员', '北京市优秀律师'],
    professionalResearchs: [
      '赛况捷富凯撒旦法老三扥开三扥开机',
      '开始但凡老三扥兰兰赛况捷富凯撒旦法老师淡蓝龙坎扥开囧丁龙蛋放开三扥开'
    ],
    articles: [
      {
        id: '001',
        img: '/static/image/login-background.jpeg',
        title: '合规“嘉”研｜涉案民营企业合规整改若干问题探讨',
        time: '2023-09-26',
        url:'https://mp.weixin.qq.com/s/yUXmTKC34ECi9N67AaLeIQ',
      },
      {
        id: '002',
        img: '/static/image/login-background.jpeg',
        title: '合规“嘉”研｜涉案民营企业合规整改若干问题探讨',
        time: '2023-09-26 17:00',
        url:'https://mp.weixin.qq.com/s/yUXmTKC34ECi9N67AaLeIQ',
      },
      {
        id: '003',
        img: '/static/image/login-background.jpeg',
        title: '合规“嘉”研｜涉案民营企业合规整改若干问题探讨',
        time: '2023-09-26',
        url:'https://mp.weixin.qq.com/s/yUXmTKC34ECi9N67AaLeIQ',
      }
    ],
  },
  {
    id: '0002',
    name: '张三',
    role: '创始合伙人',
    desc: '开囧到了翻开撒旦法开始单开饭收到滥伐适当反抗上单肯红单抗法',
    avatar: '/static/image/login-background.jpeg',
    tel: '139567344884',
    email: 'bisjkdh@qq.com',
    address: '河南省郑州市金水区扫单放开三到付就',
    eduBackground: '中国人民公安大学、西南财经大学',
    workExperience:
      ['开始党建开饭时代垦局龙蛋分开囧带肯基佬撒旦法老囧到啦樊笼矿机分开三道',
      '劳烦骚了扫荡卷肯喊扫荡反恐当反抗上单肯喊空挡反抗三矿很久空挡反抗耗散当'],
    societyRoles: ['北京市人大代表', '北京市海淀区人大代表', '仲裁委员会 仲裁员'],
    honors: ['全国优秀律师', '全国律师行业优秀共产党员', '北京市优秀律师'],
    professionalResearchs: [
      '赛况捷富凯撒旦法老三扥开三扥开机',
      '开始但凡老三扥兰兰赛况捷富凯撒旦法老师淡蓝龙坎扥开囧丁龙蛋放开三扥开'
    ],
    articles: [
      {
        id: '001',
        img: '',
        title: '',
        time: '',
        url:'',
      }
    ]
  }
]

export function getLawyerList(params){
 const keyword = params?.keyword
 let lawyerList = allData;
 if(keyword){
  lawyerList = lawyerList.filter(item=>item.name.includes(keyword))
 }
 return lawyerList;
}

export function getLawyerDetail(id){
return allData.find(item=>item.id===id)||{}
}
